package my.test.facade;

/**
 * @Author 许玉康
 * @Date 2019/9/29 8:53
 */
public class Client2 {

    public static void main(String[] args) {
        //现代化邮局，有个服务叫做Hell Road
        ModenPostOffice hellRoadPostOffice = new ModenPostOffice();
        //定义信的内容和收信人的地址，邮局帮你完成一系列工作
        //定义一个地址
        String address = "Happy Road No. 666,God Province ,Heaven";
        //信的内容
        String context = "Hello, I'd like to...";
        //发送
        hellRoadPostOffice.sendLetter(context, address);
    }
}
